<?php namespace system\model;

use hdphp\Model\Model;

class Plugin extends Model {
	//数据表
	protected $table     = "plugin";
	protected $allowFill = [ '*' ];
	//自动验证
	protected $validate
		= [
			[ 'name', 'required', '模块标识不能为空', self::MUST_VALIDATE, self::MODEL_BOTH ]
		];

	//自动完成
	protected $auto
		= [
			//['字段名','处理方法','方法类型',验证条件,验证时机]
		];
}